<?php
!defined('P_W') && exit('Forbidden');

class PW_PageCacheConfigList {
	var $area;

	function __construct($area) {
		$this->area = (int)$area;
	}
	function PW_PageCacheConfigInfo($area) {
		$this->__construct($area);
	}
	
	function getConfig() {
		return $this->_pageConfig();
	}
	
	function setArea($area) {
		$this->area = (int)$area;
	}
	
	function _pageConfig() {
		$cache_config = array(
			'newHouse' => array('type'=>'housesort','sorttype'=>'new','round'=>$this->area,'cachetime'=>5000,'num'=>'10'),
			'hotHouse' => array('type'=>'housesort','sorttype'=>'hot','round'=>$this->area,'cachetime'=>5000,'num'=>'10'),
			'recommendHouse' => array('type'=>'housesort','sorttype'=>'recommend','num'=>'8'),
		);
		return $cache_config;
	}
}
?>